package br.com.dallasmotopecas.util.vo;

import java.io.Serializable;

public class EntidadeVo implements Serializable
{
	private static final long serialVersionUID = 1L;
	protected long id;
	protected long idEmpresaEptus;
	protected long idCodigoEptus;
	
	protected EntidadeVo()
	{
		
	}

	public long getId()
	{
		return id;
	}

	public void setId(long id)
	{
		this.id = id;
	}
	
	public long getIdEmpresaEptus()
	{
		return idEmpresaEptus;
	}

	public void setIdEmpresaEptus(long idEmpresaEptus)
	{
		this.idEmpresaEptus = idEmpresaEptus;
	}

	public long getIdCodigoEptus()
	{
		return idCodigoEptus;
	}

	public void setIdCodigoEptus(long idCodigoEptus)
	{
		this.idCodigoEptus = idCodigoEptus;
	}

	@Override
	public int hashCode()
	{
		final int prime = 31;
		int result = 1;
		result = prime * result + (int) (id ^ (id >>> 32));
		return result;
	}

	@Override
	public boolean equals(Object obj)
	{
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		EntidadeVo other = (EntidadeVo) obj;
		if (id != other.id)
			return false;
		return true;
	}
}
